#include "bouldering.h"
#include <QDebug>


Bouldering::Bouldering(int tour, QObject* parent) :
    templatePlugin(tour, parent),
    lib_name(tr("Bouldering")),
    lib_code(QString::fromLocal8Bit("0800011511Я")),
    lib_ver(QString("develop"))
{
}

bool Bouldering::buildDatabase(QSqlDatabase *dbase)
{
    bool retcode = true;
    if (dbase->isOpen()) {

    } else {
        retcode = false;
    }
    return retcode;
}

void Bouldering::pluginInfo(QString &vrvs_name, QString &vrvs_code, QString &version)
{
    vrvs_name = lib_name;
    vrvs_code = lib_code;
    version = lib_ver;
}

 templatePlugin *pinit()
 {
     return new Bouldering();
 }

 void prelease(templatePlugin *plug)
 {
     delete plug;
 }
